﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace KSAWPFDemo.DataVisualizer
{
    /// <summary>
    /// Interaction logic for DataVisualizer.xaml
    /// </summary>
    public partial class DataVisualizer : UserControl
    {
        public DataVisualizer()
        {
            InitializeComponent();
            // http://stackoverflow.com/questions/75495/wpf-usercontrol-design-time-size/
            // Thanks AlexDuggleby!
            if (LicenseManager.UsageMode != LicenseUsageMode.Designtime)
            {
                this.Width = double.NaN; ;
                this.Height = double.NaN; ;
            }

        }
    }
}
